# 王磊的作业
List = [1, 4, 7, 5, 8, 2, 1, 3, 4, 5, 9, 7, 6, 1, 10]
x = {}
for i in List:
    x[i] = List.count(i)
print(x)